﻿@ModelType IEnumerable(Of StandAuto.Models.Veiculo)

@Code
    Layout = "~/Views/Shared/_Layout.vbhtml"
End Code



<table id="conteudo" class="display">
    <thead>
        <tr>

            <th>
                @Html.DisplayNameFor(Function(model) model.Modelo)
            </th>
            <th>
                @Html.DisplayNameFor(Function(model) model.Marca)
            </th>
            <th>
                @Html.DisplayNameFor(Function(model) model.cilindrada)
            </th>
            <th>
                @Html.DisplayNameFor(Function(model) model.potencia)
            </th>
            <th>
                @Html.DisplayNameFor(Function(model) model.numPortas)
            </th>
            <th>
                @Html.DisplayNameFor(Function(model) model.valorVenda)
            </th>
            <th>
                @Html.DisplayNameFor(Function(model) model.descricao)
            </th>
            @*<th></th>*@
        </tr>
    </thead>
    <tbody>
        @For Each item In Model
            @<tr>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.Modelo)
                </td>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.Marca)
                </td>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.cilindrada)
                </td>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.potencia)
                </td>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.numPortas)
                </td>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.valorVenda)
                </td>
                <td>
                    @Html.DisplayFor(Function(modelItem) item.descricao)
                </td>
                @*<td>
                        @Html.ActionLink("Edit", "Edit", New With {.id = item.Id}) |
                        @Html.ActionLink("Details", "Details", New With {.id = item.veiculoId }) |
                        @Html.ActionLink("Delete", "Delete", New With {.id = item.veiculoId })
                    </td>*@
            </tr>
        Next
    </tbody>
</table>
